package com.project.service.impl;

import com.project.bean.CountyBean;
import com.project.dao.ICountryDao;
import com.project.service.ICountryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CountryService implements ICountryService {
    @Autowired
    private ICountryDao dao;
    @Override
    public List<CountyBean> findAll() {
        return dao.findAll();
    }
}
